%rebase layout title="Port List"

<div id="container">
  <table cellspacing="0" cellpadding="0" border="0">
    <tr>
      <th>SID/PORT</th>
      %for portnumber in portnumbers:
      <th>{{portnumber}}</th>
      %end
    </tr>
    %for service in servicelist:
    <tr>
      <td>{{service['sid']}}</td>
      %for s in service['port']:
      <td>{{s}}</td>
      %end
    </tr>
    %end
  </table>
</div>
